#include <iostream>
#include "complex.h"
using namespace std;

int main (int argc, char* argv[]) 
{
  Complex c1;
  Complex c2;
  c2.setReal(1);
  c2.setIm(3);
  printf ("Adding...\n");
  c1.add(c2);
  printf ("Real : %d, Imaginary : %d\n", c1.getReal(), c1.getIm());
  if (c1.areEqual(c2))
    printf ("c1 is equal to c2 !\n");
  printf ("Multiplying...\n");
  c1.mult(c2);
  printf ("Real : %d, Imaginary : %d\n", c1.getReal(), c1.getIm());
  if (! c1.areEqual(c2))
    printf ("c1 IS NOT equal to c2 !\n");
  return 0;
}


  
